﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuanNianQKCX.aspx.cs" Inherits="Web.Pages.YongShui._12.ChaXunGL.QuanNianQKCX" Theme="Default"%>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="../../../JS/jquery.js" type="text/javascript"></script>
    <script src="../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <link href="../../../css/inputBgColor.css" rel="stylesheet" />
    <style type="text/css">
         body, html
         {
             padding: 0;
             margin: 0;
         }
    </style>
    <script type="text/javascript">
        $(function () {
            var height = Math.max(0, document.documentElement.clientHeight) - 150;
            $("#condition").css("height", height);
        });
        function first(obj, msg, key) {
            obj.SetFocusedRowIndex(0);
            hdCollection.Set(key, obj.GetRowKey(0));
            ASPxCallback1.PerformCallback(msg);
        }

        function last(obj, msg, key) {
            if (obj.GetFocusedRowIndex() == 0) {
                alert("当前已是第一条");
            }
            else {
                hdCollection.Set(key, obj.GetRowKey(obj.GetFocusedRowIndex() - 1));
                obj.SetFocusedRowIndex(obj.GetFocusedRowIndex() - 1);
                ASPxCallback1.PerformCallback(msg);
            }
        }

        function next(obj, msg, key) {
            if (obj.GetFocusedRowIndex() == obj.GetVisibleRowsOnPage() - 1) {
                alert("当前已是最后一条");
            }
            else {
                hdCollection.Set(key, obj.GetRowKey(obj.GetFocusedRowIndex() + 1));
                obj.SetFocusedRowIndex(obj.GetFocusedRowIndex() + 1);
                ASPxCallback1.PerformCallback(msg);
            }
        }

        function final(obj, msg, key) {
            hdCollection.Set(key, obj.GetRowKey(obj.GetVisibleRowsOnPage() - 1));
            obj.SetFocusedRowIndex(obj.GetVisibleRowsOnPage() - 1);
            ASPxCallback1.PerformCallback(msg);
        }

        function rowClick() {
            // debugger
            if (gvtab1.GetFocusedRowIndex() != -1) {
                hdCollection.Set("ID", gvtab1.GetRowKey(gvtab1.GetFocusedRowIndex()));
                ASPxCallback1.PerformCallback("setinfo");

            }
        }

        function ASPxCallback1Complete(rs) {
            var arr = rs.split('|');
            var type = arr[0];
            var state = arr[1];
            if (type == "setinfo") {
                txtYongHuH2.SetText(arr[2]);
                txtYongHuM2.SetText(arr[3]);
                txtYongShuiXZ.SetText(arr[4]);
               
                txtJuHao.SetText(arr[5]);
                txtJuMing.SetText(arr[6]);
                txtYongShuiJ2.SetText(arr[7]);
                txtSheShuiDXFL.SetText(arr[8]);
                txtGongSiH.SetText(arr[9]);
                txtGongSiM.SetText(arr[10]);
                txtShouFeiFS.SetText(arr[11]);
                txtYeWuY.SetText(arr[12]);
                txtXingZhengQH.SetText(arr[13]);
                txtXingZhengQM.SetText(arr[14]);
               
                txtShiKaoHY2.SetText(arr[16]);
                txtKaoHeFYBZ.SetText(arr[15]==0?"不考核":arr[15]==1?"工业":"非工业");
                txtKaoHeFYBZ2.SetText(arr[15]);
                txtYongHuDZ2.SetText(arr[17]);
                txtLianXiBM.SetText(arr[18]);
                txtLianXiR.SetText(arr[19]);
                txtLianXiDH.SetText(arr[20]);
                txtYouBian.SetText(arr[21]);
                txtKaiHuHM2.SetText(arr[22]);
                txtKaiHuYH.SetText(arr[23]);
                txtYinHangZH2.SetText(arr[24]);
                txtZiLaiSBS.SetText(arr[25]);
                txtHuiGuanBS.SetText(arr[26]);
                txtHangYeLX.SetText(arr[27]);
            }
            else if (type == "hjgdxx") {
                //alert(arr[2]);
                txtFYongHuH.SetText(arr[2]);
                hdCollection.Set("yyhh", arr[2]);
                gvFenHuJG.PerformCallback();
            }
        }
        function CustomBackGvList() {
            var s = gvtab2.GetRowKey(gvtab2.GetFocusedRowIndex());

            hdCollection.Set("quannian_yonghuh", s);
            gvQuanNianYSQK2tab2.PerformCallback();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            全年情况查询
        </div>
        <div style="display: none;">
            <dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="hdCollection" runat="server"></dx:ASPxHiddenField>
            <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallback1Complete(e.result);}"></dx:ASPxCallback>
        </div>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <div style="border: 1px solid #d0e4fe; text-align: right;">
                    <table>
                        <tr>
                            <td style="width: 6%;"><span style="font-size: 12px;">站点：</span></td>
                            <td style="width: 8%;">
                                <asp:Panel runat="server" ID="Panel26">
                                    <dx:ASPxComboBox runat="server" ID="cmbGuanLiBM" Width="90%" AutoPostBack="true" OnSelectedIndexChanged="cmbGuanLiBM_SelectedIndexChanged">
                                        <Items>
                                            <dx:ListEditItem Text="全部" Value="" Selected="true" />
                                        </Items>
                                    </dx:ASPxComboBox>
                                </asp:Panel>
                            </td>
                            <td style="width: 6%;"><span style="font-size: 12px;">管理块：</span></td>
                            <td style="width: 8%;">
                                <asp:Panel runat="server" ID="Panel27">
                                    <dx:ASPxComboBox runat="server" ID="cmbGuanLiK" Width="90%">
                                        <Items>
                                            <dx:ListEditItem Text="全部" Value="" Selected="true" />
                                        </Items>
                                    </dx:ASPxComboBox>
                                </asp:Panel>
                            </td>
                            <td style="width: 6%;"><span style="font-size: 12px;">业务员：</span></td>
                            <td style="width: 8%;">
                                <asp:Panel runat="server" ID="Panel28">
                                    <dx:ASPxComboBox runat="server" ID="cmbYeWuY" Width="90%">
                                    </dx:ASPxComboBox>
                                </asp:Panel>
                            </td>
                            <td style="width:4%;">
                                <dx:ASPxTextBox runat="server" ID="txtYear"    Width="60px"></dx:ASPxTextBox>
                            </td>
                            <td style="width:1px;white-space:nowrap">年</td>
                            <td style="float:right;">
                                <table>
                                    <tr>
                                        <td>
                                            <dx:ASPxLoadingPanel runat="server" ID="LoadPanel" ClientInstanceName="LoadPanel" Text="正在查询"></dx:ASPxLoadingPanel>
                                <dx:ASPxButton runat="server" ID="btnChaXun" Text="查询" OnClick="btnChaXun_Click">
                                    <ClientSideEvents Click="function(s,e){LoadPanel.Show();}" />
                                </dx:ASPxButton>
                                        </td>
                                        <td>
                                             <dx:ASPxButton runat="server" ID="btnExportExcel" Text="导出Excel">
                                                 <ClientSideEvents  Click="function(s,e){btnExport.OnClick();}"/>
                                             </dx:ASPxButton>
                                        </td>
                                    </tr>
                                </table
                            </td>
                        </tr>
                    </table>
                    <table style="text-align: right; width: 50%;">
                        <tr>
                            <td style="width: 1%;padding-left:12px; white-space:nowrap">
                                <dx:ASPxRadioButton runat="server" ID="rbnYongHuH" Text="用户号" GroupName="tab1" ClientInstanceName="rbnYongHuH"></dx:ASPxRadioButton>
                            </td>
                            <td style="width: 6%;">
                                <dx:ASPxTextBox runat="server" ID="txtYongHuH" Width="80%">
                                    <ClientSideEvents GotFocus="function(s,e){rbnYongHuH.SetChecked(true);}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td style="width: 1%; white-space:nowrap">
                                <dx:ASPxRadioButton runat="server" ID="rbnYongHuM" Text="用户名" GroupName="tab1" ClientInstanceName="rbnYongHuM"></dx:ASPxRadioButton>
                            </td>
                            <td style="width: 10%;">
                                <dx:ASPxTextBox runat="server" ID="txtYongHuM" Width="80%">
                                    <ClientSideEvents GotFocus="function(s,e){rbnYongHuM.SetChecked(true);}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                    </table>
                </div>
                <div>
                    <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" ActiveTabIndex="0" Width="98%">
                        <TabPages>
                            <dx:TabPage Text="用户信息">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <div id="condition" style="float: left; border: 1px solid #d0e4fe; width: 14%;">
                                                <table style="height: 420px; width: 100%;">

                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxRadioButton runat="server" ID="rbnYongHuDZ" Text="用户地址" GroupName="tab1" ClientInstanceName="rbnYongHuDZ"></dx:ASPxRadioButton>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuDZ" Width="100%">
                                                                <ClientSideEvents GotFocus="function(s,e){rbnYongHuDZ.SetChecked(true);}" />
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxRadioButton runat="server" ID="rbnJuXX" Text="局信息" GroupName="tab1" ClientInstanceName="rbnJuXX"></dx:ASPxRadioButton>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <asp:Panel runat="server" ID="Panel21">
                                                                <dx:ASPxComboBox runat="server" ID="cbmJuXX" Width="100%">
                                                                    <ClientSideEvents GotFocus="function(s,e){rbnJuXX.SetChecked(true);}" />
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxRadioButton runat="server" ID="rbnGongSiXX" Text="公司信息" GroupName="tab1" ClientInstanceName="rbnGongSiXX"></dx:ASPxRadioButton>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <asp:Panel runat="server" ID="Panel22">
                                                                <dx:ASPxComboBox runat="server" ID="cmbGongSiXX" Width="100%">
                                                                    <ClientSideEvents GotFocus="function(s,e){rbnGongSiXX.SetChecked(true);}" />
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxRadioButton runat="server" ID="rbnXingZhengQ" Text="行政区" GroupName="tab1" ClientInstanceName="rbnXingZhengQ"></dx:ASPxRadioButton>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <asp:Panel runat="server" ID="Panel1">
                                                                <dx:ASPxComboBox runat="server" ID="cmbXingZhengQ" Width="100%">
                                                                    <ClientSideEvents GotFocus="function(s,e){rbnXingZhengQ.SetChecked(true);}" />
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxRadioButton runat="server" ID="rbnYongShuiXZ" Text="用水性质" GroupName="tab1" ClientInstanceName="rbnYongShuiXZ"></dx:ASPxRadioButton>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <asp:Panel runat="server" ID="Panel2">
                                                                <dx:ASPxComboBox runat="server" ID="cmbYongShuiXZ" Width="100%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="" Selected="true" />
                                                                    </Items>
                                                                    <ClientSideEvents GotFocus="function(s,e){rbnYongShuiXZ.SetChecked(true);}" />
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxRadioButton runat="server" ID="rbnSheShuiDXFL" Text="涉水对象分类" GroupName="tab1" ClientInstanceName="rbnSheShuiDXFL"></dx:ASPxRadioButton>
                                                        </td>
                                                    </tr>
                                                    <tr>

                                                        <td colspan="2">
                                                            <asp:Panel runat="server" ID="Panel8">
                                                                <dx:ASPxComboBox runat="server" ID="cmbSheShuiDXFL_h1" Width="100%">
                                                                    <ClientSideEvents GotFocus="function(s,e){rbnSheShuiDXFL.SetChecked(true);}" />
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxRadioButton runat="server" ID="rbnShiKaoHY" Text="试考核月" GroupName="tab1" ClientInstanceName="rbnShiKaoHY"></dx:ASPxRadioButton>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 40%;">
                                                            <asp:Panel runat="server" ID="Panel19">
                                                                <dx:ASPxComboBox runat="server" ID="cbmShiKaoHY" Width="100%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="=" Value="" Selected="true" />
                                                                        <dx:ListEditItem Text=">" Value="0" />
                                                                        <dx:ListEditItem Text=">=" Value="1" />
                                                                        <dx:ListEditItem Text="<" Value="1" />
                                                                        <dx:ListEditItem Text="<=" Value="1" />
                                                                        <dx:ListEditItem Text="<>" Value="1" />
                                                                    </Items>
                                                                    <ClientSideEvents GotFocus="function(s,e){rbnShiKaoHY.SetChecked(true);}" />
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShiKaoHY" Width="100%">
                                                                <ClientSideEvents GotFocus="function(s,e){rbnShiKaoHY.SetChecked(true);}" />
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>
                                        <div style="float: right; border: 1px solid #d0e4fe; width: 85%;">
                                            <div>
                                                <table>
                                                    <tr>
                                                        <td style="width:70px;"><div onclick="first(gvtab1,'setinfo','ID');"><img src="../../../Images/first.jpg" /></div></td>
                                                        <td style="width:70px;"><div onclick="last(gvtab1,'setinfo','ID');"><img src="../../../Images/last.jpg" /></div></td>
                                                        <td style="width:70px;"><div onclick="next(gvtab1,'setinfo','ID');"><img src="../../../Images/next.jpg" /></div></td>
                                                        <td style="width:70px;"><div onclick="final(gvtab1,'setinfo','ID');"><img src="../../../Images/final.jpg" /></div></td>

                                                        <td>&nbsp;&nbsp;</td>
                                                        <td>

                                                             <dx:ASPxLabel runat="server" ID="lbzjltab1" Text="共0笔"></dx:ASPxLabel>  
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div>
                                                <dx:ASPxGridView ID="gvYongHuXXTab1" ClientInstanceName="gvtab1" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" EnableCallBacks="true" 
                                                    ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" >
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="用户号" Caption="用户号" Width="60px">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用户名" Caption="用户名" Width="240">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用户地址" Caption="用户地址" Width="240">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用水性质" Caption="用水性质" Width="140">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用水价" Caption="用水价" Width="50">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="考核复用" Caption="考核复用" Width="65">
                                                            <DataItemTemplate>
                                                                <%#Eval("考核复用").ToString()=="0"?"不考核":Eval("考核复用").ToString()=="1"?"工业":"非工业" %>
                                                            </DataItemTemplate>
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="收费方式" Caption="收费方式" Width="65">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="试考核月" Caption="试考核月" Width="65">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="业务员" Caption="业务员" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_ZLSBS" Caption="自来水表数" Width="75">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_HGBS" Caption="回灌水表数" Width="75">
                                                        </dx:GridViewDataTextColumn>
                                                        <%--<dx:GridViewDataTextColumn FieldName="" Caption="连续加价状态" Width="85">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="" Caption="连续加价次数" Width="85">
                                                        </dx:GridViewDataTextColumn>--%>
                                                        <dx:GridViewDataTextColumn FieldName="行政区" Caption="行政区" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="局号" Caption="局号" Width="50">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="局名" Caption="局名" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="公司号" Caption="公司号" Width="50">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="公司名" Caption="公司名" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="管理块" Caption="管理块" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="邮编" Caption="邮编" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="联系部门" Caption="联系地址" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="联系人" Caption="联系人" Width="120">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="联系电话" Caption="联系电话" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="开户户名" Caption="开户户名" Width="250">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="银行账号" Caption="银行帐号" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="开户银行" Caption="开户银行" Width="220">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_HANGYELEIXMC" Caption="行业类型" Width="65">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_SHESHUIDXFLMC" Caption="涉水对象分类" Width="150">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="原用户号" Caption="原用户号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="立户日期" Caption="立户日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="目前状态" Caption="目前状态" Width="75">
                                                        </dx:GridViewDataTextColumn>
                                                        <%--<dx:GridViewDataTextColumn FieldName="" Caption="户籍行为" Width="75">
                                                        </dx:GridViewDataTextColumn>--%>
                                                        <dx:GridViewDataTextColumn FieldName="户籍修改日期" Caption="户籍管理日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="修改日期" Caption="修改日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="修改人" Caption="修改人" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings  VerticalScrollBarMode="Visible"  HorizontalScrollBarMode="Auto"/>
                                                    <SettingsPager Mode="EndlessPaging" PageSize="100" AlwaysShowPager="true" FirstPageButton-Visible="true" />
                                                    <Settings ShowFooter="True" />
                                                    <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(400,gvtab1);}" FocusedRowChanged="function(s,e){rowClick();}"/>
                                                </dx:ASPxGridView>
                                            </div>
                                            <div style="margin-top: 10px;">
                                                <table style="text-align: right;  width: 100%;">
                                                    <tr>
                                                        <td style="width: 9%;"><span style="font-size: 12px;">用户号：</span></td>
                                                        <td style="width: 13%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuH2" Width="80%"  ClientEnabled="false" ClientInstanceName="txtYongHuH2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 9%;"><span style="font-size: 12px;">用户名：</span></td>
                                                        <td style="width: 16%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuM2" Width="100%" ClientEnabled="false" ClientInstanceName="txtYongHuM2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 12%;"><span style="font-size: 12px;">用水性质：</span></td>
                                                        <td style="width: 16%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongShuiXZ" Width="80%" ClientEnabled="false" ClientInstanceName="txtYongShuiXZ"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 9%;"><span style="font-size: 12px;">行业类型：</span></td>
                                                        <td style="width: 16%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtHangYeLX" Width="100%" ClientEnabled="false" ClientInstanceName="txtHangYeLX"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">局号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtJuHao" Width="80%" ClientEnabled="false" ClientInstanceName="txtJuHao"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">局名：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtJuMing" Width="100%" ClientEnabled="false" ClientInstanceName="txtJuMing"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">用水价：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYongShuiJ2" Width="80%" ClientEnabled="false" ClientInstanceName="txtYongShuiJ2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">涉水对象分类：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtSheShuiDXFL" Width="100%" ClientEnabled="false" ClientInstanceName="txtSheShuiDXFL"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">公司号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtGongSiH" Width="80%" ClientEnabled="false" ClientInstanceName="txtGongSiH"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">公司名：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtGongSiM" Width="100%" ClientEnabled="false" ClientInstanceName="txtGongSiM"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">收费方式：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShouFeiFS" Width="80%" ClientEnabled="false" ClientInstanceName="txtShouFeiFS"></dx:ASPxTextBox>
                                                        </td>
                                                        <td>
                                                            <span style="font-size: 12px;">业务员：</span>

                                                        </td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYeWuY" Width="100%" ClientEnabled="false" ClientInstanceName="txtYeWuY"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">行政区号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtXingZhengQH" Width="80%" ClientEnabled="false" ClientInstanceName="txtXingZhengQH"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">行政区名：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtXingZhengQM" Width="100%" ClientEnabled="false" ClientInstanceName="txtXingZhengQM"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">自来水表数：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtZiLaiSBS" Width="80%" ClientEnabled="false" ClientInstanceName="txtZiLaiSBS"></dx:ASPxTextBox>
                                                        </td>
                                                        <td>
                                                            <span style="font-size: 12px;">回灌表数：</span>

                                                        </td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtHuiGuanBS" Width="100%" ClientEnabled="false" ClientInstanceName="txtHuiGuanBS"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">试考核月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShiKaoHY2" Width="80%" ClientEnabled="false" ClientInstanceName="txtShiKaoHY2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">考核复用标志：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtKaoHeFYBZ" Width="100%" ClientEnabled="false" ClientInstanceName="txtKaoHeFYBZ"></dx:ASPxTextBox>
                                                        </td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtKaoHeFYBZ2" Width="100%" ClientEnabled="false" ClientInstanceName="txtKaoHeFYBZ2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">用户地址：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuDZ2" Width="100%" ClientEnabled="false" ClientInstanceName="txtYongHuDZ2"></dx:ASPxTextBox>
                                                        </td>

                                                        <td><span style="font-size: 12px;">联系部门：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtLianXiBM" Width="100%" ClientEnabled="false" ClientInstanceName="txtLianXiBM"></dx:ASPxTextBox>
                                                        </td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">联系人：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtLianXiR" Width="100%" ClientEnabled="false" ClientInstanceName="txtLianXiR"></dx:ASPxTextBox>
                                                        </td>

                                                        <td><span style="font-size: 12px;">联系电话：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtLianXiDH" Width="100%" ClientEnabled="false" ClientInstanceName="txtLianXiDH"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">邮编：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYouBian" Width="100%" ClientEnabled="false" ClientInstanceName="txtYouBian"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">开户户名：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtKaiHuHM2" Width="100%" ClientEnabled="false" ClientInstanceName="txtKaiHuHM2"></dx:ASPxTextBox>
                                                        </td>

                                                        <td><span style="font-size: 12px;">开户银行：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtKaiHuYH" Width="100%" ClientEnabled="false" ClientInstanceName="txtKaiHuYH"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">银行账号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYinHangZH2" Width="100%" ClientEnabled="false" ClientInstanceName="txtYinHangZH2"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="全年用水情况">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <div style="border: 1px solid #d0e4fe;">
                                                <table style="text-align: right;">
                                                    <tr>
                                                        <td style="width: 7%;">
                                                            <dx:ASPxCheckBox runat="server" ID="chkShuiLiangtab2" Text="水量：" ClientInstanceName="chkShuiLiangtab2"></dx:ASPxCheckBox>
                                                        </td>
                                                        <td style="width: 8%;">
                                                            <asp:Panel runat="server" ID="Panel4">
                                                                <dx:ASPxComboBox runat="server" ID="cmbShuiLiangtab2" Width="90%" AutoPostBack="true">
                                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkShuiLiangtab2.SetChecked(true);}" />--%>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 5%;">
                                                            <asp:Panel runat="server" ID="Panel7">
                                                                <dx:ASPxComboBox runat="server" ID="cbmShuiLiang1tab2" Width="100%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="" Selected="true" />
                                                                        <dx:ListEditItem Text="=" Value="0" />
                                                                        <dx:ListEditItem Text=">" Value="1" />
                                                                        <dx:ListEditItem Text=">=" Value="2" />
                                                                        <dx:ListEditItem Text="<" Value="3" />
                                                                        <dx:ListEditItem Text="<=" Value="4" />
                                                                        <dx:ListEditItem Text="<>" Value="5" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtShuiLiang1tab2" Width="100%">
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;">
                                                            <asp:Panel runat="server" ID="Panel9">
                                                                <dx:ASPxComboBox runat="server" ID="cbmShuiLiang2tab2" Width="100%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="" Selected="true" />
                                                                        <dx:ListEditItem Text="=" Value="0" />
                                                                        <dx:ListEditItem Text=">" Value="1" />
                                                                        <dx:ListEditItem Text=">=" Value="2" />
                                                                        <dx:ListEditItem Text="<" Value="3" />
                                                                        <dx:ListEditItem Text="<=" Value="4" />
                                                                        <dx:ListEditItem Text="<>" Value="5" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtShuiLiang2tab2" Width="100%">
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">月数：</span></td>
                                                        <td style="width: 5%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYueShutab2" Width="90%" Text="1" ClientInstanceName="txtYueShutab2" MaxLength="2">
                                                                <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                        <td>&nbsp;</td>
                                                        <td style="width: 7%; min-width:70px">
                                                            <dx:ASPxCheckBox runat="server" ID="chkJinEtab2" Text="金额：" ClientInstanceName="chkJinEtab2"></dx:ASPxCheckBox>
                                                        </td>
                                                        <td style="width: 8%;">
                                                            <asp:Panel runat="server" ID="Panel11">
                                                                <dx:ASPxComboBox runat="server" ID="cmbJinElxtab2" Width="90%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="超用金额" Value="0" Selected="true" />
                                                                        <dx:ListEditItem Text="加价金额" Value="1"  />
                                                                    </Items>
                                                                   <%-- <ClientSideEvents GotFocus="function(s,e){chkJinEtab2.SetChecked(true);}" />--%>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 5%;">
                                                            <asp:Panel runat="server" ID="Panel10">
                                                                <dx:ASPxComboBox runat="server" ID="cbmJinEtab2" Width="100%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="" Selected="true" />
                                                                        <dx:ListEditItem Text="=" Value="0" />
                                                                        <dx:ListEditItem Text=">" Value="1" />
                                                                        <dx:ListEditItem Text=">=" Value="2" />
                                                                        <dx:ListEditItem Text="<" Value="3" />
                                                                        <dx:ListEditItem Text="<=" Value="4" />
                                                                        <dx:ListEditItem Text="<>" Value="5" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtJinEtab2" Width="100%">
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">月数：</span></td>
                                                        <td style="width: 5%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYueShu2tab2" Text="1" Width="90%"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width:70px;float:right;">
                                                            <asp:Panel runat="server" ID="Panel3">
                                                                <dx:ASPxComboBox runat="server" ID="cbmYueShutab2" Width="90%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="-1" Selected="true"/>
                                                                        <dx:ListEditItem Text="1" Value="1" />
                                                                        <dx:ListEditItem Text="2" Value="2" />
                                                                        <dx:ListEditItem Text="3" Value="3" />
                                                                        <dx:ListEditItem Text="4" Value="4" />
                                                                        <dx:ListEditItem Text="5" Value="5" />
                                                                        <dx:ListEditItem Text="6" Value="6" />
                                                                        <dx:ListEditItem Text="7" Value="7" />
                                                                        <dx:ListEditItem Text="8" Value="8" />
                                                                        <dx:ListEditItem Text="9" Value="9" />
                                                                        <dx:ListEditItem Text="10" Value="10" />
                                                                        <dx:ListEditItem Text="11" Value="11" />
                                                                        <dx:ListEditItem Text="12" Value="12" />
                                                                        <dx:ListEditItem Text="全年" Value="0" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="text-align:left">月</td>
                                                        <%--<td style="width: 5%">
                                                            <img src="../../../Images/first.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/last.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/next.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/final.jpg" />
                                                        </td>--%>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div>
                                                <table>
                                                    <tr>
                                                        <td>
                                                            <dx:ASPxLabel runat="server" ID="lbzjltab2" Text="共0笔"></dx:ASPxLabel>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <dx:ASPxGridView ID="gvQuanNianYSQKtab2" ClientInstanceName="gvtab2" runat="server" AutoGenerateColumns="False" KeyFieldName="S_YONGHUH" 
                                                     EnableCallBacks="true"   ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" >
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="6%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="28%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_1M" Caption="1月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_2M" Caption="2月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_3M" Caption="3月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_4M" Caption="4月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_5M" Caption="5月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_6M" Caption="6月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_7M" Caption="7月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_8M" Caption="8月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_9M" Caption="9月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_10M" Caption="10月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_11M" Caption="11月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_12M" Caption="12月" Width="5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_QUANNIAN" Caption="全年" Width="6%">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings  VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" />
                                                    <SettingsPager Mode="EndlessPaging" PageSize="50" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(400,gvtab2);}" FocusedRowChanged="function(s,e){CustomBackGvList();}" />
                                                    <%-- <Settings VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="true" />--%>
                                                </dx:ASPxGridView>
                                            </div>
                                            <div style="margin-top: 10px;">
                                                <dx:ASPxGridView ID="gvQuanNianYSQK2tab2" ClientInstanceName="gvQuanNianYSQK2tab2" runat="server" AutoGenerateColumns="False" OnCustomCallback="gvQuanNianYSQK2tab2_CustomCallback" KeyFieldName="Month"  Theme="Aqua1" Width="100%">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="Month" Caption="月" Width="10%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_YUANJIHUA" Caption="原计划量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JIJIANJH" Caption="基建量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_WAIGONGJH" Caption="外供量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_SHIYONGSL" Caption="实用量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_CHAOJIHSL" Caption="超用量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JUTIAOZ" Caption="局调整量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_CHUTIAOZ" Caption="处调整量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_SHIYONGJH" Caption="现计划量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JIAJIAL" Caption="加价量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_JIAJIAJE" Caption="加价金额" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_HUIGUANL" Caption="回灌量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_GUBIAOS" Caption="估表量" Width="7.5%">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings VerticalScrollableHeight="320" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                    
                                                </dx:ASPxGridView>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="月用水情况">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <div style="border: 1px solid #d0e4fe;">
                                                <table style="text-align: right;">
                                                    <tr>
                                                        <td style="width: 7%;">
                                                            <dx:ASPxCheckBox runat="server" ID="chkShuiLiangtab3" Text="水量：" ClientInstanceName="chkShuiLiangtab3"></dx:ASPxCheckBox>
                                                        </td>
                                                        <td style="width: 8%;">
                                                            <asp:Panel runat="server" ID="Panel12">
                                                                <dx:ASPxComboBox runat="server" ID="cmbShuiLiangtab3" Width="90%" AutoPostBack="true">
                                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkShuiLiangtab3.SetChecked(true);}" />--%>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 5%;">
                                                            <asp:Panel runat="server" ID="Panel13">
                                                                <dx:ASPxComboBox runat="server" ID="cbmShuiLiang1tab3" Width="100%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="" Selected="true" />
                                                                        <dx:ListEditItem Text="=" Value="1"  />
                                                                        <dx:ListEditItem Text=">" Value="0" />
                                                                        <dx:ListEditItem Text=">=" Value="2" />
                                                                        <dx:ListEditItem Text="<" Value="3" />
                                                                        <dx:ListEditItem Text="<=" Value="4" />
                                                                        <dx:ListEditItem Text="<>" Value="5" />
                                                                    </Items>
                                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkShuiLiangtab3.SetChecked(true);}" />--%>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtShuiLiang1tab3" Width="100%">
                                                                <%--<ClientSideEvents GotFocus="function(s,e){chkShuiLiangtab3.SetChecked(true);}" />--%>
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;">
                                                            <asp:Panel runat="server" ID="Panel14">
                                                                <dx:ASPxComboBox runat="server" ID="cbmShuiLiang2tab3" Width="100%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="" Selected="true" />
                                                                        <dx:ListEditItem Text="=" Value="1"  />
                                                                        <dx:ListEditItem Text=">" Value="0" />
                                                                        <dx:ListEditItem Text=">=" Value="2" />
                                                                        <dx:ListEditItem Text="<" Value="3" />
                                                                        <dx:ListEditItem Text="<=" Value="4" />
                                                                        <dx:ListEditItem Text="<>" Value="5" />
                                                                    </Items>
                                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkShuiLiangtab3.SetChecked(true);}" />--%>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtShuiLiang2tab3" Width="100%">
                                                                <%--<ClientSideEvents GotFocus="function(s,e){chkShuiLiangtab3.SetChecked(true);}" />--%>
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                        <td>&nbsp;</td>
                                                        <td style="width: 7%; min-width:70px">
                                                            <dx:ASPxCheckBox runat="server" ID="chkJinEtab3" Text="金额：" ClientInstanceName="chkJinEtab3"></dx:ASPxCheckBox>
                                                        </td>
                                                        <td style="width: 8%;">
                                                            <asp:Panel runat="server" ID="Panel20">
                                                                <dx:ASPxComboBox runat="server" ID="cmbJinELXtab3" Width="90%">
                                                                     <Items>
                                                                        <dx:ListEditItem Text="超用金额" Value="N_CHAOJIHJE" Selected="true" />
                                                                        <dx:ListEditItem Text="加价金额" Value="N_JIAJIAJE"  />
                                                                    </Items>
                                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkJinEtab3.SetChecked(true);}" />--%>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 5%;">
                                                            <asp:Panel runat="server" ID="Panel23">
                                                                <dx:ASPxComboBox runat="server" ID="cbmJinEtab3" Width="90%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="" Selected="true" />
                                                                        <dx:ListEditItem Text="=" Value="0" />
                                                                        <dx:ListEditItem Text=">" Value="1" />
                                                                        <dx:ListEditItem Text=">=" Value="2" />
                                                                        <dx:ListEditItem Text="<" Value="3" />
                                                                        <dx:ListEditItem Text="<=" Value="4" />
                                                                        <dx:ListEditItem Text="<>" Value="5" />
                                                                    </Items>
                                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkJinEtab3.SetChecked(true);}" />--%>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtJinEtab3" Width="100%">
                                                                <ClientSideEvents GotFocus="function(s,e){chkJinEtab3.SetChecked(true);}" />
                                                            </dx:ASPxTextBox>
                                                        </td>
                                                        <td>&nbsp;</td>
                                                        <td style="width: 6%;">
                                                            <asp:Panel runat="server" ID="Panel24">
                                                                <dx:ASPxComboBox runat="server" ID="cbmYueShutab3" Width="90%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="1" Value="1" />
                                                                        <dx:ListEditItem Text="2" Value="2" />
                                                                        <dx:ListEditItem Text="3" Value="3" />
                                                                        <dx:ListEditItem Text="4" Value="4" />
                                                                        <dx:ListEditItem Text="5" Value="5" />
                                                                        <dx:ListEditItem Text="6" Value="6" />
                                                                        <dx:ListEditItem Text="7" Value="7" />
                                                                        <dx:ListEditItem Text="8" Value="8" />
                                                                        <dx:ListEditItem Text="9" Value="9" />
                                                                        <dx:ListEditItem Text="10" Value="10" />
                                                                        <dx:ListEditItem Text="11" Value="11" />
                                                                        <dx:ListEditItem Text="12" Value="12" />
                                                                        <dx:ListEditItem Text="全年" Value="0" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="text-align: left;">月</td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/first.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/last.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/next.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/final.jpg" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div>
                                                 <table>
                                                    <tr>
                                                        <td>
                                                            <dx:ASPxLabel runat="server" ID="lbzjltab3" Text="共0笔"></dx:ASPxLabel>
                                                        </td>
                                                    </tr>
                                                </table> 
                                                <dx:ASPxGridView ID="gvYueYongSQKtab3" ClientInstanceName="gvtab3" runat="server" AutoGenerateColumns="False" KeyFieldName="S_YONGHUH" 
                                                     EnableCallBacks="true"   ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" Theme="Aqua1">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="280">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_YUANJIHUA" Caption="原计划量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JIJIANL" Caption="基建量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_WAIGONGL" Caption="外供量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_SHIYONGL" Caption="实用量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_CHAOYONGL" Caption="超用量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JUTIAOZ" Caption="局调整量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_CHUTIAOZ" Caption="处调整量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_XIANJIHL" Caption="现计划量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JIAJIAL" Caption="加价量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_JIAJIAJE" Caption="加价金额" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_HUIGUANL" Caption="回灌量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_GUBIAOL" Caption="估表量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_WANCHENGL" Caption="完成率(%)" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_CHAOYONGL" Caption="超用率(%)" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_JIAJIAL" Caption="加价率(%)" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_XINGZHENG" Caption="行政区号" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_XINGZHENGQM" Caption="行政区名" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUDZ" Caption="用户地址" Width="280">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                     <Settings  VerticalScrollBarMode="Visible"  HorizontalScrollBarMode="Auto"/>
                                                    <SettingsPager Mode="EndlessPaging" PageSize="100" AlwaysShowPager="true" FirstPageButton-Visible="true" />
                                                    <Settings ShowFooter="True" />
                                                    <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(200,gvtab3);}" />
                                                    <%--<Settings VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="true" />--%>
                                                </dx:ASPxGridView>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="月用水汇总">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <div style="border: 1px solid #d0e4fe;">
                                                <table style="text-align:right;">
                                                    <tr>
                                                        <td style="width: 5%; min-width:80px"><span style="font-size:12px;">汇总类型：</span></td>
                                                        <td style="width: 10%;">
                                                            <asp:Panel runat="server" ID="Panel5">
                                                                <dx:ASPxComboBox runat="server" ID="cbmHuiZongLXtab4" Width="80%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="管理部门" Value="0" Selected="true" />
                                                                        <dx:ListEditItem Text="管理块" Value="1"  />
                                                                        <dx:ListEditItem Text="行政区" Value="2"  />
                                                                        <dx:ListEditItem Text="业务员" Value="3"  />
                                                                        <dx:ListEditItem Text="用水性质" Value="4"  />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 5%;text-align:right">月：
                                                        </td>
                                                        <td style="width: 7%;">
                                                            <asp:Panel runat="server" ID="Panel6">
                                                                <dx:ASPxComboBox runat="server" ID="cbmHuiZongLX2tab4" Width="90%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="1" Value="1" />
                                                                        <dx:ListEditItem Text="2" Value="2" />
                                                                        <dx:ListEditItem Text="3" Value="3" />
                                                                        <dx:ListEditItem Text="4" Value="4" />
                                                                        <dx:ListEditItem Text="5" Value="5" />
                                                                        <dx:ListEditItem Text="6" Value="6" />
                                                                        <dx:ListEditItem Text="7" Value="7" />
                                                                        <dx:ListEditItem Text="8" Value="8" />
                                                                        <dx:ListEditItem Text="9" Value="9" />
                                                                        <dx:ListEditItem Text="10" Value="10" />
                                                                        <dx:ListEditItem Text="11" Value="11" />
                                                                        <dx:ListEditItem Text="12" Value="12" />
                                                                        <dx:ListEditItem Text="全部" Value="0" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 48%;">&nbsp;</td>
                                                         <td>
                                                            <dx:ASPxLabel runat="server" ID="lbzjltab4" Text="共0笔"></dx:ASPxLabel>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </div>
                                            <div>
                                                <dx:ASPxGridView ID="gvYueYongSHZtab4" ClientInstanceName="gvtab4" runat="server" AutoGenerateColumns="False" KeyFieldName="S_BIANHAO"
                                                     EnableCallBacks="true"   ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" Theme="Aqua1">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_BIANHAO" Caption="编号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_MINGCHENG" Caption="名称" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_HUSHU" Caption="户数" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_YUANJIHUA" Caption="原计划量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JIJIANL" Caption="基建量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_WAIGONGL" Caption="外供量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_SHIYONGL" Caption="实用量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_CHAOYONGL" Caption="超用量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JUTIAOZ" Caption="局调整量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_CHUTIAOZ" Caption="处调整量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_XIANJIHL" Caption="现计划量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_JIAJIAL" Caption="加价量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_JIAJIAJE" Caption="加价金额" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_CHAOYONGJE" Caption="超用金额" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_HUIGUANL" Caption="回灌量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_GUBIAOL" Caption="估表量" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_WANCHENGL" Caption="完成率（%）" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_CHAOYONGL" Caption="超用率（%）" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_JIAJIAL" Caption="加价率（%）" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                       <%-- <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="行政区号" Width="">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="" Caption="用户地址" Width="">
                                                        </dx:GridViewDataTextColumn>--%>
                                                    </Columns>
                                                    <Settings  VerticalScrollBarMode="Visible"  HorizontalScrollBarMode="Auto"/>
                                                    <SettingsPager Mode="EndlessPaging" PageSize="100" AlwaysShowPager="true" FirstPageButton-Visible="true" />
                                                    <Settings ShowFooter="True" />
                                                    <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(200,gvtab4);}"  />
                                                    <%--<Settings VerticalScrollableHeight="300" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="true" />--%>
                                                </dx:ASPxGridView>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="用户收费情况">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <div style="border: 1px solid #d0e4fe;">
                                                <table>
                                                    <tr>
                                                        <td style="width: 7%;padding-left:5px">
                                                            <asp:Panel runat="server" ID="Panel17">
                                                                <dx:ASPxComboBox runat="server" ID="cbmYueShutab5" Width="90%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="1" Value="1" />
                                                                        <dx:ListEditItem Text="2" Value="2" />
                                                                        <dx:ListEditItem Text="3" Value="3" />
                                                                        <dx:ListEditItem Text="4" Value="4" />
                                                                        <dx:ListEditItem Text="5" Value="5" />
                                                                        <dx:ListEditItem Text="6" Value="6" />
                                                                        <dx:ListEditItem Text="7" Value="7" />
                                                                        <dx:ListEditItem Text="8" Value="8" />
                                                                        <dx:ListEditItem Text="9" Value="9" />
                                                                        <dx:ListEditItem Text="10" Value="10" />
                                                                        <dx:ListEditItem Text="11" Value="11" />
                                                                        <dx:ListEditItem Text="12" Value="12" />
                                                                        <dx:ListEditItem Text="全部" Value="0" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="text-align:left">月
                                                        </td>
                                                         <td style="width:100px;text-align:right;">
                                                            <dx:ASPxLabel runat="server" ID="lbzjltab5" Text="共0笔"></dx:ASPxLabel>
                                                        </td>  
                                                        <td style="width: 35%;">&nbsp;</td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/first.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/last.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/next.jpg" />
                                                        </td>
                                                        <td style="width: 5%">
                                                            <img src="../../../Images/final.jpg" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div>
                                                <dx:ASPxGridView ID="gvJiHuaBGtab5" ClientInstanceName="gvtab5" runat="server" AutoGenerateColumns="False" KeyFieldName="S_YONGHUH" 
                                                    EnableCallBacks="true"   ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" Theme="Aqua1">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="8%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="30%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_SHUILIANGNY" Caption="水量月" Width="8%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_YINGKAIZ" Caption="初开金额" Width="9%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_SHISHOUJE" Caption="实收金额" Width="9%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_QIANFEITZ" Caption="核销类型" Width="9%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_QIANFEI" Caption="欠费" Width="9%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_HUISHOUL" Caption="回收率（%）" Width="9%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_YINGSHOU" Caption="实收/初开（%）" Width="9%">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings  VerticalScrollBarMode="Auto"  HorizontalScrollBarMode="Auto"/>
                                                    <SettingsPager Mode="EndlessPaging" PageSize="30"  />
                                                   
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(420,gvtab5);}" FocusedRowChanged="function(s,e){gvJiHuaBG2tab5Bind();}"  />
                                                    <%--<Settings  VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="true" />--%>
                                                </dx:ASPxGridView>
                                                <script type="text/javascript">
                                                    function gvJiHuaBG2tab5Bind() {
                                                        var s = gvtab5.GetRowKey(gvtab5.GetFocusedRowIndex());
                                                        if (s != null) {
                                                            hdCollection.Set("shoufei_yonghuh", s);
                                                            gvJiHuaBG2tab5.PerformCallback();
                                                        }
                                                    }
                                                </script>
                                            </div>
                                            <div style="margin-top: 10px;">
                                                <dx:ASPxGridView ID="gvJiHuaBG2tab5" runat="server" ClientInstanceName="gvJiHuaBG2tab5" AutoGenerateColumns="False" OnCustomCallback="gvJiHuaBG2tab5_CustomCallback" KeyFieldName="S_SHUILIANGM" 
                                                    Theme="Aqua1" Width="100%">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_SHUILIANGM" Caption="水量月" Width="14%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_YINGKAIZ" Caption="初开金额" Width="14%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_SHISHOUJE" Caption="实收金额" Width="14%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_QIANFEITZ" Caption="核销类型" Width="16%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_QIANFEI" Caption="欠费" Width="14%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_HUISHOUL" Caption="回收率（%）" Width="14%">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_SHISHOUKZ" Caption="实收/初开（%）" Width="14%">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings VerticalScrollableHeight="200" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                    
                                                </dx:ASPxGridView>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="全年收费汇总">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div style="border: 1px solid #d0e4fe;">
                                            <table style="text-align: right;">
                                                <tr>
                                                    <td style="width: 5%;min-width:80px"><span style="font-size: 12px;">汇总类型：</span></td>
                                                    <td style="width: 10%; min-width:100px">
                                                        <asp:Panel runat="server" ID="Panel16">
                                                            <dx:ASPxComboBox runat="server" ID="cbmHuiZongLXtab6" Width="80%">
                                                                <Items>
                                                                    <dx:ListEditItem Text="管理部门" Value="0" Selected="true" />
                                                                    <dx:ListEditItem Text="管理块" Value="1" />
                                                                    <dx:ListEditItem Text="业务员" Value="2" />
                                                                </Items>
                                                            </dx:ASPxComboBox>
                                                        </asp:Panel>
                                                    </td>
                                                    <td style="width: 5%;text-align:right">月：
                                                    </td>
                                                    <td style="width: 7%;">
                                                        <asp:Panel runat="server" ID="Panel25">
                                                            <dx:ASPxComboBox runat="server" ID="cbmYuetab6" Width="90%">
                                                                <Items>
                                                                    <dx:ListEditItem Text="1" Value="1" Selected="true" />
                                                                        <dx:ListEditItem Text="2" Value="2" />
                                                                        <dx:ListEditItem Text="3" Value="3" />
                                                                        <dx:ListEditItem Text="4" Value="4" />
                                                                        <dx:ListEditItem Text="5" Value="5" />
                                                                        <dx:ListEditItem Text="6" Value="6" />
                                                                        <dx:ListEditItem Text="7" Value="7" />
                                                                        <dx:ListEditItem Text="8" Value="8" />
                                                                        <dx:ListEditItem Text="9" Value="9" />
                                                                        <dx:ListEditItem Text="10" Value="10" />
                                                                        <dx:ListEditItem Text="11" Value="11" />
                                                                        <dx:ListEditItem Text="12" Value="12" />
                                                                        <dx:ListEditItem Text="全部" Value="0" />
                                                                </Items>
                                                            </dx:ASPxComboBox>
                                                        </asp:Panel>
                                                    </td>
                                                    <td style="width: 48%;">&nbsp;</td>
                                                    <td style="width:100px;text-align:right;">
                                                        <dx:ASPxLabel runat="server" ID="lbzjltab6" Text="共0笔"></dx:ASPxLabel>
                                                    </td>   
                                                </tr>
                                            </table>
                                        </div>
                                        <dx:ASPxGridView ID="gvQuanNianSFHZtab6" ClientInstanceName="gvtab6" runat="server" AutoGenerateColumns="False" KeyFieldName="S_BIANHAO" 
                                            EnableCallBacks="true"   ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" Theme="Aqua1">
                                            <Columns>
                                                <dx:GridViewDataTextColumn FieldName="S_MINGCHENG" Caption="名称" Width="20%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="S_SHUILIANGY" Caption="水量年" Width="10%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="S_SHUILIANGM" Caption="水量月" Width="10%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_YINGKAIZ" Caption="初开金额" Width="10%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_SHISHOUJE" Caption="实收金额" Width="10%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_QIANFEITZ" Caption="核销金额" Width="10%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_QIANFEI" Caption="欠费" Width="10%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_HUISHOUL" Caption="回收率（%）" Width="10%"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_SHISHOUKZ" Caption="实收/初开（%）" Width="10%"></dx:GridViewDataTextColumn>
                                            </Columns>
                                            <Settings VerticalScrollBarMode="Visible"  HorizontalScrollBarMode="Auto" />
                                            <SettingsPager Mode="EndlessPaging" PageSize="100" AlwaysShowPager="true" FirstPageButton-Visible="true" />
                                            <Settings ShowFooter="True" />
                                            <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                            <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                            <ClientSideEvents Init="function(s,e){AdjustSize(190,gvtab6);}" />
                                            <%--<Settings  VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                            <SettingsBehavior ProcessFocusedRowChangedOnServer="true" />--%>
                                        </dx:ASPxGridView>

                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="业务员收费情况">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div style="border: 1px solid #d0e4fe;">
                                            <table>
                                                <tr>
                                                     <td style="width: 7%;padding-left:5px">
                                                        <asp:Panel runat="server" ID="Panel29">
                                                            <dx:ASPxComboBox runat="server" ID="cbmYuetab7" Width="90%">
                                                                <Items>
                                                                    <dx:ListEditItem Text="全部" Value="0" Selected="true" />
                                                                    <dx:ListEditItem Text="1" Value="1" />
                                                                    <dx:ListEditItem Text="2" Value="2" />
                                                                    <dx:ListEditItem Text="3" Value="3" />
                                                                    <dx:ListEditItem Text="4" Value="4" />
                                                                    <dx:ListEditItem Text="5" Value="5" />
                                                                    <dx:ListEditItem Text="6" Value="6" />
                                                                    <dx:ListEditItem Text="7" Value="7" />
                                                                    <dx:ListEditItem Text="8" Value="8" />
                                                                    <dx:ListEditItem Text="9" Value="9" />
                                                                    <dx:ListEditItem Text="10" Value="10" />
                                                                    <dx:ListEditItem Text="11" Value="11" />
                                                                    <dx:ListEditItem Text="12" Value="12" />
                                                                </Items>
                                                            </dx:ASPxComboBox>
                                                        </asp:Panel>
                                                    </td>
                                                    <td style="text-align:left">月</td>
                                                    <td style="width:48%;">&nbsp;</td>
                                                     <td style="width:100px;text-align:right;">
                                                            <dx:ASPxLabel runat="server" ID="lbzjltab7" Text="共0笔"></dx:ASPxLabel>
                                                        </td>    
                                                </tr>
                                            </table>
                                        </div>
                                        <div>
                                            <dx:ASPxGridView ID="gvYeWuYSFQKtab7" ClientInstanceName="gvtab7" runat="server" AutoGenerateColumns="False" KeyFieldName="S_BIANHAO" 
                                                EnableCallBacks="true"   ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" Theme="Aqua1">
                                                <Columns>
                                                    <dx:GridViewDataTextColumn FieldName="S_MINGCHENG" Caption="业务员" Width="10%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_YINGKAIZ" Caption="初开金额" Width="15%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_SHISHOUJE" Caption="实收金额" Width="15%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_QIANFEITZ" Caption="核销金额" Width="15%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_QIANFEI" Caption="欠费" Width="15%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_HUISHOUL" Caption="回收率（%）" Width="15%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_SHISHOUKZ" Caption="实收/初开（%）" Width="15%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                                </Columns>
                                                <Settings VerticalScrollBarMode="Visible"  HorizontalScrollBarMode="Auto" />
                                                <SettingsPager Mode="EndlessPaging" PageSize="100" AlwaysShowPager="true" FirstPageButton-Visible="true" />
                                                <Settings ShowFooter="True" />
                                                <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                <ClientSideEvents Init="function(s,e){AdjustSize(190,gvtab7);}" />
                                                <%--<Settings VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                <SettingsBehavior ProcessFocusedRowChangedOnServer="true" />--%>
                                            </dx:ASPxGridView>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="新考核用户汇总">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        
<%--                                        <dx:ASPxGridView ID="gvXinKaoHYHHZtab8" ClientInstanceName="gvtab8" runat="server" AutoGenerateColumns="False" KeyFieldName="w" EnableCallBacks="false" Theme="Aqua1" Width="100%">--%>
                                        <dx:ASPxGridView ID="gvXinKaoHYHHZtab8" ClientInstanceName="gvtab8" runat="server" AutoGenerateColumns="False" KeyFieldName="I_M" Width="100%">
                                            <Columns>
                                                <dx:GridViewDataTextColumn FieldName="I_M" Caption="月份" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_SHIKAOHS" Caption="本月止试考核户数" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_DANGYUEXZHS" Caption="当月新增户数"></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_JIHUAL" Caption="计划量" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_SHIYONGL" Caption="实用量" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_CHAOYONGL" Caption="超用量" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_CHAOYONGJE" Caption="超用金额" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_JIAJIAL" Caption="加价量" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_JIAJIAJE" Caption="加价金额" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_JIAJIAL" Caption="加价率（%）" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_XINZENGBS" Caption="本月新增表" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_XINZENGSL" Caption="新增表水量" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_HUSHU" Caption="户数" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_HUSHUZJ" Caption="户数增减" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_ZONGSHIYL" Caption="总实用量" ></dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_ZONGSHIYLZJ" Caption="实用量增减" ></dx:GridViewDataTextColumn>
                                            </Columns>
                                            <ClientSideEvents Init="function(s,e){AdjustSize(150,gvtab8);}" />
                                            <Settings VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                           
                                        </dx:ASPxGridView>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                        </TabPages>
                    </dx:ASPxPageControl>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
          <div style="display:none;">
            <table>
                <tr>
                    <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server">
                    </dx:ASPxGridViewExporter>
                    <dx:ASPxButton ID="btnExport" runat="server" ClientInstanceName="btnExport" Text="导出EXCEL" OnClick="btnExport_Click" UseSubmitBehavior="false">
                    </dx:ASPxButton>
                </tr>
            </table>
        </div>  
    </form>
</body>
</html>
